<!-- 副页头部 -->
<template>
  <div>
    <div
        style="height: 10vh;display: flex; box-shadow: 0 2px 0px #e7e7e7;background-color: #56a1d4; box-shadow: 0px 5px 5px -5px rgba(0, 0, 0, 0.75);">
      <i style="padding: 1vh 0 0 2vw;" class="el-icon-d-arrow-left" @click="home()">返回首页</i>
      <img src="../../assets/img/logo.png" style="width: 6vw;height: 8vh;padding-top: 2vh; margin-left: 5vw;" alt="logo">
    </div>
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  methods: {
    home() {
      this.$router.replace("/index/home")
    }
  }
}
</script>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
</style>